package com.lee.response;

import java.io.Serializable;

/**
 * 相应结果封装
 * @author zfl_a
 * @date 2020/4/4
 * @project login-authorization-parent
 */
public class ResponseResult implements Serializable {

    private Integer code ;
    private String msg ;
    private Object data ;

    public ResponseResult() {
        this.code = 200 ;
        this.msg = "成功";
    }

    public ResponseResult(Integer code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}

